package com.work.cos.domain.entity.sys;

import java.io.Serializable;

import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author admin
 * @since 2018-04-08
 */
public class CosUserEntity implements Serializable{

    private static final long serialVersionUID = 1L;

    private Long id;
    
    private String nickName;
    
    private Long phone;
    
    private String password;
    
    private String avator;
    
    private Integer credits;
    
    private Date createTime;
    
    private Date updateTime;
    
    private String sex;
    
    private Date birthday;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public Long getPhone() {
        return phone;
    }

    public void setPhone(Long phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAvator() {
        return avator;
    }

    public void setAvator(String avator) {
        this.avator = avator;
    }

    public Integer getCredits() {
        return credits;
    }

    public void setCredits(Integer credits) {
        this.credits = credits;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }


    @Override
    public String toString() {
        return "CosUser{" +
        "id=" + id +
        ", nickName=" + nickName +
        ", phone=" + phone +
        ", password=" + password +
        ", avator=" + avator +
        ", credits=" + credits +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", sex=" + sex +
        ", birthday=" + birthday +
        "}";
    }
}
